SANDBOX-800: save CRs when test fails#61582
SANDBOX-800: save CRs when test fails#61582openshift-merge-bot[bot] merged 6 commits intoopenshift:masterfrom
Conversation
|
@rsoaresd, Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@rsoaresd, Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse |
|
@rsoaresd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse |
|
@rsoaresd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse pull-ci-codeready-toolchain-host-operator-master-e2e |
|
@rsoaresd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse |
|
@rsoaresd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
4cbe2d4 to
a68e5c4
Compare
|
/pj-rehearse |
|
@rsoaresd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@rsoaresd: This pull request references SANDBOX-800 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@rsoaresd: This pull request references SANDBOX-800 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
alexeykazakov
left a comment
There was a problem hiding this comment.
We need to add jrosental to the owners and reviewers too.
There are also some JSONs which don't include jrosental but I'm not sure if those were generated?
| - rajivnathan | ||
| - ranakan19 | ||
| - rsoaresd | ||
| - xcoulon |
There was a problem hiding this comment.
| - xcoulon | |
| - xcoulon | |
| - jrosental |
| - rajivnathan | ||
| - ranakan19 | ||
| - rsoaresd | ||
| - xcoulon |
There was a problem hiding this comment.
| - xcoulon | |
| - xcoulon | |
| - jrosental |
| - rajivnathan | ||
| - ranakan19 | ||
| - rsoaresd | ||
| - xcoulon |
There was a problem hiding this comment.
| - xcoulon | |
| - xcoulon | |
| - jrosental |
| - rajivnathan | ||
| - ranakan19 | ||
| - rsoaresd | ||
| - xcoulon |
There was a problem hiding this comment.
| - xcoulon | |
| - xcoulon | |
| - jrosental |
| - rajivnathan | ||
| - ranakan19 | ||
| - rsoaresd | ||
| - xcoulon |
There was a problem hiding this comment.
| - xcoulon | |
| - xcoulon | |
| - jrosental |
| - rajivnathan | ||
| - ranakan19 | ||
| - rsoaresd | ||
| - xcoulon |
There was a problem hiding this comment.
| - xcoulon | |
| - xcoulon | |
| - jrosental |
There was a problem hiding this comment.
So sorry! I added it here: 3c984a4
I also added jrosental to the OWNERS of the repos (if not in OWNERS of the repos that runs the e2e jobs - toolchain-e2e, host-operator, member-operator, registration-service and workload-analyzer - his name will be removed in theses. For more info, check this Slack thread):
- add jrosental as owner codeready-toolchain/toolchain-e2e#1118
- add jrosental as owner codeready-toolchain/host-operator#1141
- add jrosental as owner codeready-toolchain/member-operator#623
- https://github.com/codeready-toolchain/workload-analyzer/pull/119
- add jrosental as owner codeready-toolchain/registration-service#509
- add jrosental as owner codeready-toolchain/api#460
- add jrosental as owner codeready-toolchain/toolchain-common#456
P.S. I also added him in api and toolchain-common to update there
| queue ${ARTIFACT_DIR}/bannedusers.json oc --insecure-skip-tls-verify --request-timeout=5s get bannedusers.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/idlers.json oc --insecure-skip-tls-verify --request-timeout=5s get idlers.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/masteruserrecords.json oc --insecure-skip-tls-verify --request-timeout=5s get masteruserrecords.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/memberoperatorconfigs.json oc --insecure-skip-tls-verify --request-timeout=5s get memberoperatorconfigs.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/memberstatuses.json oc --insecure-skip-tls-verify --request-timeout=5s get memberstatuses.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/notifications.json oc --insecure-skip-tls-verify --request-timeout=5s get notifications.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/nstemplatesets.json oc --insecure-skip-tls-verify --request-timeout=5s get nstemplatesets.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/nstemplatetiers.json oc --insecure-skip-tls-verify --request-timeout=5s get nstemplatetiers.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/proxyplugins.json oc --insecure-skip-tls-verify --request-timeout=5s get proxyplugins.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/socialevents.json oc --insecure-skip-tls-verify --request-timeout=5s get socialevents.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/spacebindings.json oc --insecure-skip-tls-verify --request-timeout=5s get spacebindings.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/spacebindingrequests.json oc --insecure-skip-tls-verify --request-timeout=5s get spacebindingrequests.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/spaceprovisionerconfigs.json oc --insecure-skip-tls-verify --request-timeout=5s get spaceprovisionerconfigs.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/spacerequests.json oc --insecure-skip-tls-verify --request-timeout=5s get spacerequests.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/spaces.json oc --insecure-skip-tls-verify --request-timeout=5s get spaces.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/tiertemplates.json oc --insecure-skip-tls-verify --request-timeout=5s get tiertemplates.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/tiertemplaterevisions.json oc --insecure-skip-tls-verify --request-timeout=5s get tiertemplaterevisions.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/toolchainclusters.json oc --insecure-skip-tls-verify --request-timeout=5s get toolchainclusters.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/toolchainconfigs.json oc --insecure-skip-tls-verify --request-timeout=5s get toolchainconfigs.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/toolchainstatuses.json oc --insecure-skip-tls-verify --request-timeout=5s get toolchainstatuses.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/usersignups.json oc --insecure-skip-tls-verify --request-timeout=5s get usersignups.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/usertiers.json oc --insecure-skip-tls-verify --request-timeout=5s get usertiers.toolchain.dev.openshift.com --all-namespaces -o json | ||
| queue ${ARTIFACT_DIR}/workspaces.json oc --insecure-skip-tls-verify --request-timeout=5s get workspaces.toolchain.dev.openshift.com --all-namespaces -o json |
There was a problem hiding this comment.
when we add (or remove) a CRD, then we would need to update this script. I would try to make it more generic - something like this:
CRD_LIST=$(kubectl get crds -o jsonpath='{.items[?(@.spec.group=="toolchain.dev.openshift.com")].metadata.name}')
for CRD in ${CRD_LIST}; do
queue ${ARTIFACT_DIR}/${CRD}.json oc --insecure-skip-tls-verify --request-timeout=5s get ${CRD} --all-namespaces -o json
doneso it iterates over the available CRDs instead of hard-coding them
There was a problem hiding this comment.
Thank you so much!! I agree! Addressed in 2dc90e3
|
/retest |
|
/pj-rehearse auto-ack |
|
@alexeykazakov: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse |
|
@rsoaresd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
ranakan19
left a comment
There was a problem hiding this comment.
Awesome! Looking forward to being able to see CRs in artifacts
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexeykazakov, fbm3307, MatousJobanek, rajivnathan, ranakan19, rsoaresd The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse ack |
|
@rsoaresd: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
1dc6d3d
into
openshift:master
Description
Save CRs when test fails
Issue ticket number and link
SANDBOX-800